<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cyan-Note 店长工作台 - macOS风格</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%),
                linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #2C3E50;
            height: 100vh;
            overflow: hidden;
            margin: 0;
            padding: 0;
            position: relative;
        }

        /* 动态背景粒子 */
        .background-particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
        }

        .particle:nth-child(1) { 
            top: 15%; left: 20%; width: 120px; height: 120px; 
            background: radial-gradient(circle, rgba(255, 107, 107, 0.4) 0%, rgba(255, 107, 107, 0.1) 70%, transparent 100%);
            animation-delay: 0s; 
        }
        .particle:nth-child(2) { 
            top: 50%; left: 75%; width: 80px; height: 80px; 
            background: radial-gradient(circle, rgba(72, 219, 251, 0.5) 0%, rgba(72, 219, 251, 0.15) 70%, transparent 100%);
            animation-delay: 2s; 
        }
        .particle:nth-child(3) { 
            top: 75%; left: 30%; width: 100px; height: 100px; 
            background: radial-gradient(circle, rgba(255, 159, 243, 0.4) 0%, rgba(255, 159, 243, 0.12) 70%, transparent 100%);
            animation-delay: 4s; 
        }
        .particle:nth-child(4) { 
            top: 30%; left: 70%; width: 60px; height: 60px; 
            background: radial-gradient(circle, rgba(254, 202, 87, 0.5) 0%, rgba(254, 202, 87, 0.15) 70%, transparent 100%);
            animation-delay: 1s; 
        }
        .particle:nth-child(5) { 
            top: 10%; left: 85%; width: 70px; height: 70px; 
            background: radial-gradient(circle, rgba(163, 230, 53, 0.4) 0%, rgba(163, 230, 53, 0.12) 70%, transparent 100%);
            animation-delay: 3s; 
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.6; }
            25% { transform: translateY(-40px) rotate(90deg) scale(1.1); opacity: 0.9; }
            50% { transform: translateY(-20px) rotate(180deg) scale(0.9); opacity: 0.7; }
            75% { transform: translateY(40px) rotate(270deg) scale(1.05); opacity: 0.8; }
        }

        /* 主内容区域 */
        .main-content {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 24px;
            padding-bottom: 120px;
            overflow-y: auto;
        }


        /* 统计卡片 */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(25px);
            border-radius: 24px;
            padding: 28px;
            border: 1px solid rgba(255,255,255,0.4);
            box-shadow: 
                0 12px 40px rgba(0, 0, 0, 0.2),
                0 0 60px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
            transform: rotate(-45deg);
            transition: all 0.6s ease;
            opacity: 0;
        }

        .stat-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 
                0 20px 80px rgba(0, 0, 0, 0.25),
                0 0 40px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
            background: rgba(255, 255, 255, 0.2);
        }

        .stat-card:hover::before {
            opacity: 1;
            transform: rotate(-45deg) translateX(100%);
        }

        .stat-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .stat-title {
            color: rgba(255, 255, 255, 0.9);
            font-size: 14px;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .stat-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
            background-size: 400% 400%;
            animation: gradientShift 4s ease infinite;
            position: relative;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .stat-icon::after {
            content: '';
            position: absolute;
            top: 10%;
            left: 20%;
            width: 30%;
            height: 30%;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            filter: blur(2px);
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .stat-value {
            font-size: 36px;
            font-weight: 800;
            background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
            animation: textGlow 3s ease-in-out infinite;
        }

        @keyframes textGlow {
            0%, 100% { 
                background-position: 0% 50%;
                text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
            }
            50% { 
                background-position: 100% 50%;
                text-shadow: 0 0 30px rgba(118, 75, 162, 0.8);
            }
        }

        .stat-change {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            background: rgba(39, 174, 96, 0.2);
            padding: 4px 8px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
        }

        /* 图表区域 */
        .charts-container {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 24px;
            margin-bottom: 32px;
        }

        .chart-card {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(25px);
            border-radius: 24px;
            padding: 28px;
            border: 1px solid rgba(255,255,255,0.3);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.15),
                0 0 60px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .chart-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.8s ease;
        }

        .chart-card:hover::after {
            left: 100%;
        }

        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .chart-title {
            font-size: 18px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .time-tabs {
            display: flex;
            gap: 8px;
        }

        .time-tab {
            padding: 8px 16px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            cursor: pointer;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 600;
            transition: all 0.3s ease;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .time-tab.active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
            transform: translateY(-2px);
        }

        .chart-placeholder {
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.8);
            font-size: 16px;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        /* 底部监控区域 */
        .monitoring-section {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 24px;
            margin-bottom: 32px;
        }

        .monitoring-card {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(25px);
            border-radius: 24px;
            padding: 28px;
            border: 1px solid rgba(255,255,255,0.3);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.15),
                0 0 60px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .monitoring-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .order-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 18px;
            margin-bottom: 10px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            border-left: 4px solid transparent;
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .order-item.progress { border-left-color: #4ECDC4; }
        .order-item.warning { border-left-color: #F39C12; }
        .order-item.pending { border-left-color: #E74C3C; }

        .order-info h4 {
            margin-bottom: 4px;
            color: rgba(255, 255, 255, 0.95);
            font-size: 14px;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .order-info p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 12px;
            font-weight: 500;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        .order-status {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .status-pending {
            background: rgba(231, 76, 60, 0.1);
            color: #E74C3C;
        }

        .status-progress {
            background: rgba(78, 205, 196, 0.1);
            color: #4ECDC4;
        }

        .status-warning {
            background: rgba(243, 156, 18, 0.1);
            color: #F39C12;
        }

        /* 打手状态网格 */
        .worker-status-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }

        .worker-status-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .worker-status-item:hover {
            background: rgba(78, 205, 196, 0.1);
            transform: translateY(-2px);
        }

        .worker-name {
            font-size: 12px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .status-idle { background: #27AE60; }
        .status-rest { background: #F39C12; }
        .status-working { background: #3498DB; }
        .status-offline { background: #95A5A6; }

        /* macOS Dock 样式 */
        .dock {
            position: fixed;
            bottom: -80px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(30px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 30px;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 
                0 10px 40px rgba(0, 0, 0, 0.4),
                0 0 80px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .dock.show {
            bottom: 20px;
        }

        .dock-trigger {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50px;
            z-index: 999;
            pointer-events: none;
            background: transparent;
        }

        .dock-item {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c);
            background-size: 400% 400%;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            font-size: 22px;
            color: white;
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            animation: dockGradient 6s ease infinite;
        }

        @keyframes dockGradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .dock-item:hover {
            transform: translateY(-12px) scale(1.3) rotate(5deg);
            box-shadow: 
                0 20px 60px rgba(102, 126, 234, 0.6),
                0 0 40px rgba(255, 255, 255, 0.3);
            animation-play-state: paused;
        }

        .dock-item.active {
            background: linear-gradient(135deg, #ff6b6b, #feca57);
            transform: translateY(-8px) scale(1.2);
            box-shadow: 
                0 12px 40px rgba(255, 107, 107, 0.6),
                0 0 30px rgba(254, 202, 87, 0.4);
        }

        .dock-item::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 60px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 6px 12px;
            border-radius: 8px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .dock-item:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* 快速操作浮动按钮 */
        .quick-actions-floating {
            position: absolute;
            top: 24px;
            right: 24px;
            display: flex;
            gap: 12px;
            z-index: 999;
        }

        .quick-btn {
            width: 56px;
            height: 56px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            color: #667eea;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 
                0 8px 25px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .quick-btn::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transform: rotate(45deg);
            transition: all 0.6s ease;
            opacity: 0;
        }

        .quick-btn:hover {
            transform: translateY(-8px) scale(1.15) rotate(10deg);
            box-shadow: 
                0 15px 50px rgba(102, 126, 234, 0.4),
                0 0 40px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }

        .quick-btn:hover::before {
            opacity: 1;
            left: 50%;
            top: 50%;
        }

        /* 欢迎动画 */
        .welcome-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 1;
            transition: all 0.5s ease;
        }

        .welcome-modal.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .welcome-content {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 32px;
            padding: 48px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 32px 128px rgba(0, 0, 0, 0.3);
            transform: scale(0.8);
            animation: welcomeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        @keyframes welcomeIn {
            0% {
                transform: scale(0.8) translateY(40px);
                opacity: 0;
            }
            100% {
                transform: scale(1) translateY(0);
                opacity: 1;
            }
        }

        .welcome-icon {
            font-size: 64px;
            margin-bottom: 24px;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        .welcome-title {
            font-size: 32px;
            font-weight: 800;
            background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 16px;
            animation: textGlow 3s ease-in-out infinite;
            text-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
        }

        .welcome-subtitle {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 32px;
            font-weight: 500;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .welcome-stats {
            display: flex;
            justify-content: space-around;
            margin-bottom: 32px;
        }

        .welcome-stat {
            text-align: center;
        }

        .welcome-stat-value {
            font-size: 24px;
            font-weight: 700;
            color: #4ECDC4;
            margin-bottom: 8px;
        }

        .welcome-stat-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        .welcome-close {
            background: linear-gradient(135deg, #4ECDC4, #44A08D);
            color: white;
            border: none;
            border-radius: 20px;
            padding: 12px 32px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .welcome-close:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(78, 205, 196, 0.3);
        }

        /* 响应式设计 */
        @media (max-width: 1200px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .charts-container,
            .monitoring-section {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <!-- 欢迎动画模态框 -->
    <div class="welcome-modal" id="welcomeModal">
        <div class="welcome-content">
            <div class="welcome-icon">👑</div>
            <h1 class="welcome-title">欢迎尊贵的张三回来！</h1>
            <p class="welcome-subtitle">您的店铺运营良好，今天又是充满活力的一天</p>
            
            <div class="welcome-stats">
                <div class="welcome-stat">
                    <div class="welcome-stat-value">24</div>
                    <div class="welcome-stat-label">今日订单</div>
                </div>
                <div class="welcome-stat">
                    <div class="welcome-stat-value">¥1,280</div>
                    <div class="welcome-stat-label">今日营业额</div>
                </div>
                <div class="welcome-stat">
                    <div class="welcome-stat-value">6</div>
                    <div class="welcome-stat-label">在线打手</div>
                </div>
            </div>
            
            <button class="welcome-close" onclick="closeWelcome()">开始工作</button>
        </div>
    </div>

    <!-- 动态背景粒子 -->
    <div class="background-particles">
        <div class="particle"></div>
        <div class="particle"></div>
        <div class="particle"></div>
        <div class="particle"></div>
        <div class="particle"></div>
    </div>

    <!-- 主内容区域 -->
    <div class="main-content">
        <!-- 快速操作浮动按钮 -->
        <div class="quick-actions-floating">
            <div class="quick-btn" title="手动下单">📝</div>
            <div class="quick-btn" title="消息通知">🔔</div>
            <div class="quick-btn" title="系统设置">⚙️</div>
        </div>

        <!-- 统计卡片网格 -->
        <div class="stats-grid">
            <div class="stat-card">
                <div class="stat-header">
                    <span class="stat-title">今日订单数</span>
                    <div class="stat-icon"></div>
                </div>
                <div class="stat-value">24</div>
                <div class="stat-change">↗ +12% 较昨日</div>
            </div>

            <div class="stat-card">
                <div class="stat-header">
                    <span class="stat-title">今日营业额</span>
                    <div class="stat-icon"></div>
                </div>
                <div class="stat-value">¥1,280</div>
                <div class="stat-change">↗ +18% 较昨日</div>
            </div>

            <div class="stat-card">
                <div class="stat-header">
                    <span class="stat-title">在线打手数</span>
                    <div class="stat-icon"></div>
                </div>
                <div class="stat-value">6/12</div>
                <div class="stat-change">当前在线/总数</div>
            </div>

            <div class="stat-card">
                <div class="stat-header">
                    <span class="stat-title">待分配订单</span>
                    <div class="stat-icon"></div>
                </div>
                <div class="stat-value">3</div>
                <div class="stat-change">需要立即处理</div>
            </div>
        </div>

        <!-- 图表区域 -->
        <div class="charts-container">
            <div class="chart-card">
                <div class="chart-header">
                    <h3 class="chart-title">营业趋势图</h3>
                    <div class="time-tabs">
                        <button class="time-tab">近7天</button>
                        <button class="time-tab active">近30天</button>
                        <button class="time-tab">近3个月</button>
                    </div>
                </div>
                <div class="chart-placeholder">
                    📈 营业额 & 订单量趋势图
                </div>
            </div>

            <div class="chart-card">
                <div class="chart-header">
                    <h3 class="chart-title">打手业绩排行</h3>
                    <div class="time-tabs">
                        <button class="time-tab active">日</button>
                        <button class="time-tab">周</button>
                        <button class="time-tab">月</button>
                    </div>
                </div>
                <div class="chart-placeholder">
                    📊 打手业绩柱状图
                </div>
            </div>
        </div>

        <!-- 底部监控区域 -->
        <div class="monitoring-section">
            <div class="monitoring-card">
                <h3 class="monitoring-title">进行中订单监控</h3>
                <div class="order-item progress">
                    <div class="order-info">
                        <h4>三角洲陪玩 - 2小时</h4>
                        <p>客户：王小明 | 打手：小李 | 已进行：1.5小时</p>
                    </div>
                    <span class="order-status status-progress">进行中</span>
                </div>

                <div class="order-item warning">
                    <div class="order-info">
                        <h4>竞技陪练 - 1小时</h4>
                        <p>客户：李华 | 打手：小王 | 已进行：1.2小时</p>
                    </div>
                    <span class="order-status status-warning">即将超时</span>
                </div>

                <div class="order-item pending">
                    <div class="order-info">
                        <h4>休闲陪玩 - 3小时</h4>
                        <p>客户：张玲 | 16:00 下单 | 待分配</p>
                    </div>
                    <span class="order-status status-pending">待分配</span>
                </div>
            </div>

            <div class="monitoring-card">
                <h3 class="monitoring-title">打手状态快览</h3>
                <div class="worker-status-grid">
                    <div class="worker-status-item">
                        <span class="worker-name">小李</span>
                        <span class="status-dot status-working"></span>
                    </div>
                    <div class="worker-status-item">
                        <span class="worker-name">小王</span>
                        <span class="status-dot status-working"></span>
                    </div>
                    <div class="worker-status-item">
                        <span class="worker-name">小张</span>
                        <span class="status-dot status-idle"></span>
                    </div>
                    <div class="worker-status-item">
                        <span class="worker-name">小赵</span>
                        <span class="status-dot status-idle"></span>
                    </div>
                    <div class="worker-status-item">
                        <span class="worker-name">小陈</span>
                        <span class="status-dot status-rest"></span>
                    </div>
                    <div class="worker-status-item">
                        <span class="worker-name">小刘</span>
                        <span class="status-dot status-offline"></span>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Dock触发区域 -->
    <div class="dock-trigger"></div>
    
    <!-- macOS 风格 Dock 菜单 -->
    <div class="dock">
        <a href="#" class="dock-item active" data-tooltip="工作台">🏠</a>
        <a href="#" class="dock-item" data-tooltip="订单管理">📋</a>
        <a href="#" class="dock-item" data-tooltip="打手管理">👥</a>
        <a href="#" class="dock-item" data-tooltip="客户管理">👤</a>
        <a href="#" class="dock-item" data-tooltip="服务管理">⚙️</a>
        <a href="#" class="dock-item" data-tooltip="财务管理">💰</a>
        <a href="#" class="dock-item" data-tooltip="店铺设置">🔧</a>
        <a href="#" class="dock-item" data-tooltip="系统日志">📊</a>
    </div>
    <script>
        // 欢迎动画控制
        function closeWelcome() {
            const modal = document.getElementById('welcomeModal');
            modal.classList.add('hidden');
            setTimeout(() => {
                modal.style.display = 'none';
            }, 500);
        }

        // 自动关闭欢迎动画（3秒后）
        setTimeout(() => {
            closeWelcome();
        }, 3000);

        // 简单的交互效果
        document.addEventListener('DOMContentLoaded', function() {
            // 时间选项卡切换
            const timeTabs = document.querySelectorAll('.time-tab');
            timeTabs.forEach(tab => {
                tab.addEventListener('click', function() {
                    // 移除所有active类
                    tab.parentNode.querySelectorAll('.time-tab').forEach(t => t.classList.remove('active'));
                    // 添加active类到点击的选项卡
                    tab.classList.add('active');
                });
            });

            // Dock菜单切换
            const dockItems = document.querySelectorAll('.dock-item');
            dockItems.forEach(item => {
                item.addEventListener('click', function(e) {
                    e.preventDefault();
                    // 移除所有active类
                    dockItems.forEach(i => i.classList.remove('active'));
                    // 添加active类到点击的项目
                    item.classList.add('active');
                });
            });

            // 打手状态点击事件
            const workerItems = document.querySelectorAll('.worker-status-item');
            workerItems.forEach(item => {
                item.addEventListener('click', function() {
                    const workerName = item.querySelector('.worker-name').textContent;
                    alert('快速分配订单给 ' + workerName);
                });
            });

            // 统计卡片悬浮效果增强
            const statCards = document.querySelectorAll('.stat-card');
            statCards.forEach(card => {
                card.addEventListener('mouseenter', function() {
                    this.style.background = 'rgba(78, 205, 196, 0.05)';
                });
                card.addEventListener('mouseleave', function() {
                    this.style.background = 'rgba(255, 255, 255, 0.9)';
                });
            });

            // 页面加载动画
            const mainContent = document.querySelector('.main-content');
            mainContent.style.opacity = '0';
            mainContent.style.transform = 'translateY(20px)';
            
            setTimeout(() => {
                mainContent.style.transition = 'all 0.8s ease';
                mainContent.style.opacity = '1';
                mainContent.style.transform = 'translateY(0)';
            }, 1000);

            // Dock自动隐藏功能
            const dock = document.querySelector('.dock');
            let dockTimer;

            // 监听鼠标移动到底部区域
            document.addEventListener('mousemove', function(e) {
                const windowHeight = window.innerHeight;
                const mouseY = e.clientY;
                
                // 当鼠标在底部100px范围内时显示Dock
                if (mouseY > windowHeight - 100) {
                    dock.classList.add('show');
                    
                    // 清除隐藏计时器
                    clearTimeout(dockTimer);
                } else {
                    // 当鼠标离开底部区域时，延迟隐藏
                    clearTimeout(dockTimer);
                    dockTimer = setTimeout(() => {
                        dock.classList.remove('show');
                    }, 500); // 0.5秒延迟
                }
            });

            // 当鼠标悬浮在Dock上时保持显示
            dock.addEventListener('mouseenter', function() {
                clearTimeout(dockTimer);
                dock.classList.add('show');
            });

            // 当鼠标离开Dock时延迟隐藏
            dock.addEventListener('mouseleave', function() {
                clearTimeout(dockTimer);
                dockTimer = setTimeout(() => {
                    dock.classList.remove('show');
                }, 800); // 0.8秒延迟
            });
        });
    </script>
</body>
</html>